package com.fitmanagement.service;

import com.fitmanagement.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.catalina.User;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虚空
 * @since 2024-10-25
 */
public interface IUsersService extends IService<Users> {

    Boolean removeByUserId(int id);

    List<Map<String, Object>>  SearchByName(String username);

    boolean updateUser(int id, String username, String password, String email, LocalDateTime localDateTime,int Gender);

    Users findByEmail(String email);
}
